<template>
	<view>
		<doctorList :list="messageList" @click="goHandel"></doctorList>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				messageList: [],
			};
		},
		onLoad() {
			this.getDoctorPage()
		},
		methods: {
			goHandel() {

			},
			async getDoctorPage() {
				let re = await this.$API.messageApi.myDoctor()
				this.messageList = re
			},
		}
	}
</script>

<style lang="scss" scoped>
	/* 更改tag切换颜色 */
	::v-deep .u-tag--primary {
		background-color: #7976E9;
		border-color: #7976E9;

	}

	::v-deep .u-tag--primary span {
		color: #FFFFFF;
	}

	.u-page__tag-item {
		// margin-right: 40rpx;
	}
</style>